# -*- coding: utf-8 -*-

from vtn_base import VtnBase

import vtn_factory

class VtnPrincipal(VtnBase):

    def __init__(self):
        VtnBase.__init__(self, "vtn_principal", None)
        self.show_background_image("bk_principal")
        self.show()

    def on_btn_busqueda_clicked(self, widget, *args):
        vtn_factory.switch_to_buscar(self)

    def on_btn_os_clicked(self, widget, *args):
        vtn_factory.switch_to_so(self)

    def on_btn_programas_clicked(self, widget, *args):
        vtn_factory.switch_to_programas(self)

    def on_btn_libros_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:libros")

    def on_btn_podcast_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:podcast")

    def on_btn_musica_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:musica")

    def on_btn_videos_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:videos")

    def on_btn_kit_basico_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "kit:basico")

    def on_btn_kit_diseno_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "kit:diseno")

    def on_btn_kit_multimedia_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "kit:multimedia")

    def on_btn_otros_kits_clicked(self, widget, *args):
        vtn_factory.switch_to_mas_kits(self)